package GUI;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.ImageIcon;
import javax.swing.border.SoftBevelBorder;
import javax.swing.border.BevelBorder;
import javax.swing.JProgressBar;
import javax.swing.JMenuBar;
import javax.swing.JLabel;
import javax.swing.JTextField;
import java.awt.SystemColor;
import java.awt.Toolkit;
import javax.swing.UIManager;
import javax.swing.JTabbedPane;
import java.awt.Color;
import javax.swing.border.MatteBorder;
import java.awt.Font;

public class GUITemplate extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GUITemplate frame = new GUITemplate();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public GUITemplate() {
		setBackground(UIManager.getColor("FormattedTextField.selectionBackground"));
		setResizable(false);
		setIconImage(Toolkit.getDefaultToolkit().getImage(GUITemplate.class.getResource("/GUI/Image/12_hardware_dock.png")));
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 685, 541);
		contentPane = new JPanel();
		contentPane.setBackground(SystemColor.activeCaption);
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnBack = new JButton("");
		btnBack.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/1_navigation_back.png")));
		btnBack.setBounds(10, 445, 89, 59);
		contentPane.add(btnBack);
		
		JButton btnSubmit = new JButton("");
		btnSubmit.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/1_navigation_accept.png")));
		btnSubmit.setBounds(580, 445, 89, 59);
		contentPane.add(btnSubmit);
		
		JLabel lblBack = new JLabel("Back");
		lblBack.setBounds(41, 431, 46, 14);
		contentPane.add(lblBack);
		
		JLabel lblSubmit = new JLabel("Submit");
		lblSubmit.setBounds(604, 431, 46, 14);
		contentPane.add(lblSubmit);
		
		JButton btnClear = new JButton("");
		btnClear.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/5_content_remove.png")));
		btnClear.setBounds(597, 171, 53, 56);
		contentPane.add(btnClear);
		
		JLabel lblClear = new JLabel("Clear");
		lblClear.setBounds(597, 158, 46, 14);
		contentPane.add(lblClear);
		
		JPanel panel = new JPanel();
		panel.setBorder(new MatteBorder(1, 1, 1, 1, (Color) new Color(0, 0, 0)));
		panel.setBackground(new Color(51, 153, 204));
		panel.setBounds(116, 72, 435, 358);
		contentPane.add(panel);
		
		JLabel lblNewLabel = new JLabel("Template Form");
		lblNewLabel.setBackground(new Color(255, 255, 255));
		lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 24));
		lblNewLabel.setBounds(241, 15, 220, 46);
		contentPane.add(lblNewLabel);
		
		JButton btnHelp = new JButton("");
		btnHelp.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/2_action_help.png")));
		btnHelp.setBounds(10, 9, 32, 30);
		contentPane.add(btnHelp);
		
		JButton btnSearch = new JButton("");
		btnSearch.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/2_action_search.png")));
		btnSearch.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnSearch.setBounds(597, 262, 53, 56);
		contentPane.add(btnSearch);
		
		JLabel lblSearch = new JLabel("Search");
		lblSearch.setBounds(597, 248, 46, 14);
		contentPane.add(lblSearch);
		
		JLabel lblNewLabel_1 = new JLabel("User");
		lblNewLabel_1.setBounds(545, 25, 80, 14);
		contentPane.add(lblNewLabel_1);
		
		JLabel lblProfile = new JLabel("");
		lblProfile.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/6_social_person.png")));
		lblProfile.setBounds(625, 15, 32, 24);
		contentPane.add(lblProfile);
		
		JButton btnAddFile = new JButton("");
		btnAddFile.setIcon(new ImageIcon(GUITemplate.class.getResource("/GUI/Image/5_content_new_attachment.png")));
		btnAddFile.setBounds(597, 344, 53, 56);
		contentPane.add(btnAddFile);
		
		JLabel lblNewLabel_2 = new JLabel("Attach File");
		lblNewLabel_2.setBounds(597, 329, 53, 14);
		contentPane.add(lblNewLabel_2);
		
		JLabel lblNewLabel_3 = new JLabel("Help");
		lblNewLabel_3.setBounds(10, 37, 46, 14);
		contentPane.add(lblNewLabel_3);
		
	
	}
	
	
	
}
